package cn.gtv.sdk.dcas.api;

import android.content.Context;

import com.sad.jetpack.v1.datamodel.api.IDataModelInterceptorInput;

public class HttpSubmitTrackerDataClient extends BaseHttpDCASDataClient<HttpSubmitTrackerDataClient> {
    private String serverToken="";

    public String getServerToken() {
        return serverToken;
    }

    private HttpSubmitTrackerDataClient(Context context, String serverToken){
        super(context);
        this.serverToken=serverToken;
    }
    public static HttpSubmitTrackerDataClient newInstance(Context context, String serverToken){
        return new HttpSubmitTrackerDataClient(context,serverToken);
    }

    @Override
    public IDataModelInterceptorInput<String> protocolInterceptorInput(String tagAndClientKey) {
        return new SubmitTrackerListDataProtocolInputInterceptorV2(getContext(),getServerToken());
    }

}
